# from fdfs_client.client import Fdfs_client


#创建fdfs客户端
# client = Fdfs_client('./client.conf')
#使用客户端上传图片
# ret = client.upload_appender_by_filename('/home/ubuntu/header.png')
# print(ret)

"""
{
    'Group name': 'group1', 
    'Remote file_id': 'group1/M00/00/00/wKgPgFzuPL6EJXorAAAAAJ2sfoM383.jpg', 
    'Status': 'Upload successed.', 
    'Local file name': '/home/python/Desktop/mz2.jpg', 
    'Uploaded size': '267.00KB', 
    'Storage IP': '192.168.15.128'
}
"""